package jobs.xtask;

import com.gzhaoku.xlog.XLog;
import jobs.BaseJob;
import jobs.annotations.JobInfo;
import play.jobs.OnApplicationStop;
import utils.xtask.XTaskService;

/**
 * 关闭XTask
 * @author zhangzc
 * @since 2017/8/4
 */
@OnApplicationStop
@JobInfo(name="XTaskShutdown", desc = "XTask终止程序")
public class XTaskShutdown extends BaseJob {

    @Override
    public void executeJob() {
        XTaskService.shutdown();
    }
}
